Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Add clean target to make file#66

Open
marckhouzam wants to merge 2 commits into
helm:mainfrom
VilledeMontreal:feat/addMakeClean
Open

Add clean target to make file#66
marckhouzam wants to merge 2 commits into
helm:mainfrom
VilledeMontreal:feat/addMakeClean

Conversation

@marckhouzam

Copy link
Copy Markdown
Member

The installation of some tools has hard-code paths in them. For example:

$ head -1 .acceptance/.venv/bin/robot
#!/Users/marckhouzam/git/acceptance-testing/.acceptance/.venv/bin/python3.7

If I want to move the acceptance-testing repo to a new directory on my computer, the installed tools will no longer work due to these hard-coded paths. The simplest solution is to cleanup and re-install them.

This commit as a 'make clean' target to easily remove the entire .acceptance directory.

It is possible for a user to run make from outside of the
acceptance-testing directory.  For example

$ cd /tmp
$ make -f $GOPATH/src/helm.sh/acceptance-testing/Makefile

To support this, the Makefile must use the ROOT_DIR of where the
Makefile resides, so as to find all other files.

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
The installation of some tools has hard-code paths in them.
For example:

  $ head -1 .acceptance/.venv/bin/robot
  #!/Users/marckhouzam/git/acceptance-testing/.acceptance/.venv/bin/python3.7

If I want to move the acceptance-testing repo to a new directory on
my computer, the installed tools will no longer work due to these
hard-coded paths.  The simplest solution is to cleanup and re-install
them.

This commit as a 'make clean' target to easily remove the entire
.acceptance directory.

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants